<head>
<style type="text/css">
.style1 {text-align: right;}
.style2 {border-style: solid;
         border-width: 2px;
         text-align: center;
         color: rgb(30,140,250);}
</style>
</head>
<div id="navigation">
	<?php echo $html->link('Notas',
            array('controller' => 'detallealumnos', 'action' => 'index')); ?>
</div>
<dev class="style1">
<form>
<?php
      echo $html->link('   Cerrar Sesion   ', array('controller'=>'users','action'=>'logout'));
?>
</form>
</dev>
<h1>Gestion de alumnos</h1>
<?php foreach ($alumnos as $alumno): ?>

<table class="style2" Border="1">
<tr>
<TH><?php echo $alumno['Alumno']['Rut']; ?></TH>
<TH><?php echo $alumno['Alumno']['Nombre']; ?></TH>
<TH><?php echo $alumno['Alumno']['Ap_Pat']; ?></TH>
<TH><?php echo $alumno['Alumno']['Ap_Mat']; ?></TH>
<TH><?php echo $alumno['Alumno']['Promocion']; ?></TH>
<TH><?php echo $alumno['Alumno']['Email']; ?></TH>
<TH><?php echo $alumno['Alumno']['Domicilio']; ?></TH>
</tr>
</table>
<?php endforeach; ?>

<div><br>
<div class="style2">
<td>&nbsp;</td>
<?php echo $html->link('Anadir alumno', '/alumnos/add');?><br>
<?php echo $html->link('Editar alumno', '/alumnos/edit');?><br>
<!-- <?php echo $html->link('Eliminar alumno', '/alumnos/edit');?> -->
</div>
</div>